package CircularBufferProducerConsumer;

public class MainBuffer {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		Buffer buffer=new Buffer(4);
		
		new Thread(new Producer(buffer)).start();
		new Thread(new Consumer(buffer)).start();
		new Thread(new Consumer(buffer)).start();
		new Thread(new Consumer(buffer)).start();
		new Thread(new Producer(buffer)).start();
	}

}
